<?php

$map = new SRouteSet();
$map->connect('api/timeline', array('resource' => 'public_timeline'));
$map->connect('api/users', array('resource' => 'users'));
$map->connect('api/users/:username', array('resource' => 'user'));
$map->connect('api/users/:username/statuses', array('resource' => 'statuses'));
$map->connect('api/users/:username/statuses/:id', array('resource' => 'status'));
$map->connect('api/users/:username/timeline', array('resource' => 'friends_timeline'));
$map->connect('api/users/:username/friends', array('resource' => 'friends'));
$map->connect('api/users/:username/friends/:id', array('resource' => 'friend'));
$map->connect('api/users/:username/favorites', array('resource' => 'favorites'));
$map->connect('api/users/:username/favorites/:id', array('resource' => 'favorite'));
return $map;

?>
